<?php

namespace App\Http\Controllers\Api\V1\Demo;

use App\Services\Admin\DemoService;

class DemoController
{

    private $DemoService;

    public function __construct(DemoService $DemoService)
    {
        $this->DemoService = $DemoService;
    }
    public function index()
    {
        $arrDemo = $this->DemoService->getDemoInfo(1)->toArray();
        p($arrDemo);exit;
    }

}
